package com.vrv.netmgr.entity;

import java.util.ArrayList;
import java.util.List;

import com.vrv.framework.dao.domain.BaseEntity;

/**
 * 管理员User实体对象
 *
 * @author 曹保利
 * @version 1.0
 */
public class User extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = -2477859393733240847L;

    /** 创建该用户的管理员ID */
    private String parentId;

    /** 管理员名称 */
    private String name;

    /** 管理员密码 */
    private String passWord;

    /** 管理员类型 */
    private String type;

    /** 管理员用户菜单 */
    private String menuType;

    /** 仅允许登陆系统的IP列表(为空则允许所有IP访问) */
    private String visitAllowIPS;

    /** 可用USB标签 */
    private String usbKey;

    /** 备注你懂的 */
    private String description;

    /** USB授权个数 */
    private Integer usbCount = null;

    /** USB剩余授权个数 */
    private Integer usbCurcnt = null;

    private String groupIds = null;

    private String classIds = null;

    /** 权限组 **/
    private List<PermissionGroup> groups = new ArrayList<PermissionGroup>();

    /** 区域组 **/
    private List<Classes> classes = new ArrayList<Classes>();

    /*- Gettings && Settings -*/

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getVisitAllowIPS() {
        return visitAllowIPS;
    }

    public void setVisitAllowIPS(String visitAllowIPS) {
        this.visitAllowIPS = visitAllowIPS;
    }

    public String getUsbKey() {
        return usbKey;
    }

    public void setUsbKey(String usbKey) {
        this.usbKey = usbKey;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getUsbCount() {
        return usbCount;
    }

    public void setUsbCount(Integer usbCount) {
        this.usbCount = usbCount;
    }

    public Integer getUsbCurcnt() {
        return usbCurcnt;
    }

    public void setUsbCurcnt(Integer usbCurcnt) {
        this.usbCurcnt = usbCurcnt;
    }

    public String getGroupIds() {
        return groupIds;
    }

    public void setGroupIds(String groupIds) {
        this.groupIds = groupIds;
    }

    public List<PermissionGroup> getGroups() {
        return groups;
    }

    public void setGroups(List<PermissionGroup> groups) {
        this.groups = groups;
    }

    public String getClassIds() {
        return classIds;
    }

    public void setClassIds(String classIds) {
        this.classIds = classIds;
    }

    public List<Classes> getClasses() {
        return classes;
    }

    public void setClasses(List<Classes> classes) {
        this.classes = classes;
    }

}
